﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Randata.DataResolvers.Implementation
{
    internal class NullableDataResolver<T> : DataResolver<Nullable<T>> where T : struct
    {
        internal override Nullable<T> Resolve()
        {
            return new Nullable<T>((T)DataProvider.Any(typeof(T)));
        }
    }
}
